Post your Artwork thread

Beauty4Ashes

All that I need, is a song in my heart. . .
Feb 5, 2004
13,297
1,413
41
Visit site
✟28,095.00
Faith
Christian
Marital Status
Married
I finished my drawing of Calvin & Hobbes yesterday. :)

582054_10151572101550220_725185219_23764620_1921041013_n.jpg
 
Upvote 0

Beauty4Ashes

All that I need, is a song in my heart. . .
Feb 5, 2004
13,297
1,413
41
Visit site
✟28,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
39
Visit site
✟13,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
41
Visit site
✟28,095.00
Faith
Christian
Marital Status
Married
Pointers would be great :D

my project for this week

Untitled - YouTube
ok. :)

love!

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;
     }

}

I showed this to my husband who is a computer programmer and he says it does not qualify as art ;)
 
Upvote 0
This site stays free and accessible to all because of donations from people like you.
Consider making a one-time or monthly donation. We appreciate your support!
- Dan Doughty and Team Christian Forums

Squeakers

Cat and music lover.
Dec 21, 2007
10,237
2,069
Way in the back, off to the left.
✟70,915.00
Country
United States
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
    First Amineko 1.jpg
    106.1 KB · Views: 42
  • First Amineko 2.jpg
    First Amineko 2.jpg
    149.9 KB · Views: 44
  • Blue Shawl 2 close up.jpg
    Blue Shawl 2 close up.jpg
    239.4 KB · Views: 68
Upvote 0
This site stays free and accessible to all because of donations from people like you.
Consider making a one-time or monthly donation. We appreciate your support!
- Dan Doughty and Team Christian Forums

Puptart

Live, Laugh, Love.. and adopt a dog :)
May 14, 2012
947
101
Port Coquitlam, BC, Canada
✟16,539.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 :p)

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.

528754_415599035118145_100000041560944_1583455_2137722604_n.jpg


536720_415599101784805_100000041560944_1583456_683742660_n.jpg


577752_415599158451466_100000041560944_1583457_1105383744_n.jpg


525525_415599288451453_100000041560944_1583460_632076791_n.jpg


303321_415599331784782_100000041560944_1583461_1672138616_n.jpg


582704_415599398451442_100000041560944_1583462_782656803_n.jpg


156490_415599571784758_100000041560944_1583466_1541754143_n.jpg


524365_415599868451395_100000041560944_1583471_1510134875_n.jpg


557616_415599911784724_100000041560944_1583472_968986283_n.jpg


575934_415600108451371_100000041560944_1583475_1700805_n.jpg


522235_426732827338099_100000041560944_1609861_1792677767_n.jpg


550262_426733334004715_100000041560944_1609871_1539754422_n.jpg


544854_426734570671258_100000041560944_1609884_1994407674_n.jpg


531186_426735344004514_100000041560944_1609893_19218671_n.jpg


305499_437668709577844_100000041560944_1640518_1613535871_n.jpg


551164_436494426361939_100000041560944_1636784_692018181_n.jpg


----
 
Upvote 0
This site stays free and accessible to all because of donations from people like you.
Consider making a one-time or monthly donation. We appreciate your support!
- Dan Doughty and Team Christian Forums