• Starting today August 7th, 2024, in order to post in the Married Couples, Courting Couples, or Singles forums, you will not be allowed to post if you have your Marital status designated as private. Announcements will be made in the respective forums as well but please note that if yours is currently listed as Private, you will need to submit a ticket in the Support Area to have yours changed.

Post your Artwork thread

Beauty4Ashes

All that I need, is a song in my heart. . .
Feb 5, 2004
13,297
1,413
43
Visit site
✟43,095.00
Faith
Christian
Marital Status
Married
Cheri, good for you, for trying to get back into practicing drawing. Maybe I can give you some pointers or something when you are here. I've been doing portraits and whatnot since I was a little kid. I only wish music came as naturally to me as drawing. Speaking of music, your music is beautiful as always!
 
Upvote 0

r035198x

Junior Member
Jul 15, 2006
3,382
439
41
Visit site
✟28,048.00
Faith
Christian
Marital Status
Single
Well, art comes in different shapes and sizes

Code:
package org.enterprise.model;

import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

import javax.persistence.Cacheable;
import javax.persistence.MappedSuperclass;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Transient;
import javax.xml.bind.annotation.XmlTransient;

import org.enterprise.interceptor.annotation.Auditable;
import org.enterprise.stereotype.Domain;
import org.enterprise.util.Entities;

/**
 * Base JPA entity representation
 * 
 * @author r035198x
 * 
 */
@SuppressWarnings("serial")
@Domain
@MappedSuperclass
@Auditable
@Cacheable
public abstract class BaseEntity implements SearchableEntity {

    @XmlTransient
    @Transient
    private List<SearchProperty> searchProperties = new ArrayList<>();

    private String lastModifiedBy;

    @Temporal(TemporalType.TIMESTAMP)
    private Date lastModified;

    public BaseEntity() {
    updateSearchExclusions();
    }

    public void updateSearchExclusions() {
    Class<?> current = getClass();
    while (current != null) {
        Field[] declaredFields = current.getDeclaredFields();
        for (Field field : declaredFields) {
        String fieldName = field.getName();
        if (!getSearchExclusions().contains(fieldName) && !(Entities.isMappedByField(field))) {
            searchProperties.add(new SearchProperty(fieldName, fieldName, field.getType().getName()));
        }
        }
        current = current.getSuperclass();
    }

    }


    @Override
    public List<String> getSearchExclusions() {
    List<String> exclusions = new ArrayList<>();
    exclusions.add("id");
    exclusions.add("lastModifiedBy");
    exclusions.add("lastModified");
    exclusions.add("searchProperties");
    return exclusions;
    }

    @Override
    public void excludeFromSearch(String field) {
    Iterator<SearchProperty> iterator = searchProperties.iterator();
    while (iterator.hasNext()) {
        SearchProperty searchProperty = iterator.next();
        if (searchProperty.getName().equalsIgnoreCase(field)) {
        iterator.remove();
        }

    }
    }

    public List<SearchProperty> getSearchProperties() {
    return searchProperties;
    }

    @Override
    public int hashCode() {
    final int prime = 31;
    int result = 1;
    result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
    return result;
    }

    @Override
    public boolean equals(Object obj) {
    if (this == obj)
        return true;
    if (obj == null)
        return false;
    if (getClass() != obj.getClass())
        return false;
    BaseEntity other = (BaseEntity) obj;
    if (getId() == null) {
        if (other.getId() != null)
        return false;
    } else if (!getId().equals(other.getId()))
        return false;
    return true;
    }
    public String getLastModifiedBy() {
     return lastModifiedBy;
     }

     public void setLastModifiedBy(String lastModifiedBy) {
     this.lastModifiedBy = lastModifiedBy;
     }

     public Date getLastModified() {
     return lastModified;
     }

     public void setLastModified(Date lastModified) {
     this.lastModified = lastModified;
     }

}
 
Upvote 0

Beauty4Ashes

All that I need, is a song in my heart. . .
Feb 5, 2004
13,297
1,413
43
Visit site
✟43,095.00
Faith
Christian
Marital Status
Married
Pointers would be great

my project for this week

Untitled - YouTube
ok.

love!


I showed this to my husband who is a computer programmer and he says it does not qualify as art
 
Upvote 0

Squeakers

Cat and music lover.
Dec 21, 2007
10,237
2,069
Way in the back, off to the left.
✟78,615.00
Country
United States
Gender
Female
Faith
Other Religion
Marital Status
Single
I used to have recordings of my violin playing...but I can't find them.

I do have some pics of a couple crochet projects I did. The blue one is a close up of a shawl pattern I made for my mother.
 

Attachments

  • First Amineko 1.jpg
    106.1 KB · Views: 44
  • First Amineko 2.jpg
    149.9 KB · Views: 51
  • Blue Shawl 2 close up.jpg
    239.4 KB · Views: 72
Upvote 0

Puptart

Live, Laugh, Love.. and adopt a dog :)
May 14, 2012
948
101
Port Coquitlam, BC, Canada
✟24,039.00
Faith
Muslim
Marital Status
Married
Politics
CA-NDP
I do hobby photography My equipment is currently a Canon 550D/T2i DSLR with 18-55mm IS kit lens (I'm saving up for a really good telephoto so I can shoot amateur hockey games, so I'm making due with the kit lens for now )

I'm also just starting out learning to make beaded jewelry. I finished my very first necklace just last night I'll have to get a picture..

Here are some photos I've taken though.

































----
 
Upvote 0